package com.fg.cloud.manager.entry.product;

import java.io.Serializable;
import java.math.BigDecimal;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fg.cloud.common.convert.CustomBigDecimalSerialize;
import com.fg.cloud.manager.entry.BaseEntity;

/**
 * Description:商品多单位实体
 * @author around
 * @date 2017年8月18日下午1:45:57
 */
public class ProductMoreUnitEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 4804807031643530829L;

	private Long facId;
	
	/** 商品SKUID */
	private Long skuId;

	/** 换算单位ID */
	private Long unitId;

	/** 换算单位名称 */
	private String unitName;

	/** 标准单位ID */
	private Long standardUnitId;

	/** 标准单位名称 */
	private String standardUnitName;
	
	/** 自定义单价 */
	@JsonSerialize(using=CustomBigDecimalSerialize.class)
	private BigDecimal customPrice;

	/** 换算数量 */
	private Integer num;

	/** 类型：1=启用，0=禁用 */
	private Integer status;

	
	public Long getSkuId() {
		return skuId;
	}

	public void setSkuId(Long skuId) {
		this.skuId = skuId;
	}

	public Long getUnitId() {
		return unitId;
	}

	public void setUnitId(Long unitId) {
		this.unitId = unitId;
	}

	public Long getStandardUnitId() {
		return standardUnitId;
	}

	public void setStandardUnitId(Long standardUnitId) {
		this.standardUnitId = standardUnitId;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public String getStandardUnitName() {
		return standardUnitName;
	}

	public void setStandardUnitName(String standardUnitName) {
		this.standardUnitName = standardUnitName;
	}

	public Long getFacId() {
		return facId;
	}

	public void setFacId(Long facId) {
		this.facId = facId;
	}

	public BigDecimal getCustomPrice() {
		return customPrice;
	}

	public void setCustomPrice(BigDecimal customPrice) {
		this.customPrice = customPrice;
	}
	
	
}
